File Sorting Constants
Your application can determine the sort key for displayed files by passing the
kNavCtlSortBy
constant, described in Custom Control Setting Constants
, in the
selector
parameter of the
function NavCustomControl
, and passing one of the constants defined in the
NavSortKeyField
data type in the
parms
parameter of the
NavCustomControl
function.
enum {
kNavSortNameField = 0,
kNavSortDateField = 1
};
typedef UInt16 NavSortKeyField;
Constant descriptions
-
kNavSortNameField
-
Sort by filename.
-
kNavSortDateField
-
Sort by modification date.
© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)